package com.qf.zyh.dao;

import com.qf.zyh.entity.Cart;

import java.util.List;

public interface CartDao {
    Cart selectcart(Integer pid, int uid);

    int updateCart(int cid, int cnum, double ccount);

    int addCart(Cart cart);

    List<Cart> getall(int uid);

    int daleCart(int uid);

    int deleCartid(int uid, Integer pid);
}
